package com.newasia.server.dal.entitys;

import java.io.Serializable;
import java.util.Date;

public class Active implements Serializable {
    private String sid;

    private Long id;

    private Date time;

    private Integer keep;

    private Integer keepfn;

    private String meno;

    private Date laststoptime;

    private Date stoptime;

    private Integer smslevel;

    private static final long serialVersionUID = 1L;

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid == null ? null : sid.trim();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getKeep() {
        return keep;
    }

    public void setKeep(Integer keep) {
        this.keep = keep;
    }

    public Integer getKeepfn() {
        return keepfn;
    }

    public void setKeepfn(Integer keepfn) {
        this.keepfn = keepfn;
    }

    public String getMeno() {
        return meno;
    }

    public void setMeno(String meno) {
        this.meno = meno == null ? null : meno.trim();
    }

    public Date getLaststoptime() {
        return laststoptime;
    }

    public void setLaststoptime(Date laststoptime) {
        this.laststoptime = laststoptime;
    }

    public Date getStoptime() {
        return stoptime;
    }

    public void setStoptime(Date stoptime) {
        this.stoptime = stoptime;
    }

    public Integer getSmslevel() {
        return smslevel;
    }

    public void setSmslevel(Integer smslevel) {
        this.smslevel = smslevel;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sid=").append(sid);
        sb.append(", id=").append(id);
        sb.append(", time=").append(time);
        sb.append(", keep=").append(keep);
        sb.append(", keepfn=").append(keepfn);
        sb.append(", meno=").append(meno);
        sb.append(", laststoptime=").append(laststoptime);
        sb.append(", stoptime=").append(stoptime);
        sb.append(", smslevel=").append(smslevel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}